package com.indusfo.spc.client.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.indusfo.spc.client.pojo.ClientSpcDete;
import com.indusfo.spc.client.pojo.ClientSpcTestDete;

/**
 * 客户端检测单
 * 
 * @author zhengd
 *
 */
public interface ClientSpcDeteMapper {
	/**
	 * 客户端检测项目新增
	 * 
	 * @param clientSpcDete
	 * @return
	 */
	Integer saveClientSpcDete(List<ClientSpcDete> clientSpcDete);

	/**
	 * 客户端检测项目查询
	 * 
	 * @param spcOrderId
	 * @return clientSpcDete
	 */

	List<ClientSpcDete> queryClientSpcDete(@Param("spcOrderId") Integer spcOrderId);
	
	/**
	 * 客户端检测项目删除
	 * 
	 * @param spcOrderId
	 * @return
	 */
	Integer deleteClientSpcDete(@Param("spcOrderId") Integer spcOrderId);
	
	/**
	 * 客户端检测项目查询
	 * 
	 * @param spcOrderId
	 * @return ClientSpcTestDete
	 */

	List<ClientSpcTestDete> queryClientSpcTestDete(@Param("spcOrderId") Integer spcOrderId);

}
